﻿using System;
using System.Collections.Generic;
using System.Text;

using Newtonsoft.Json;

using SqlSugar;

namespace Server.Models
{
    [SugarTable("t_data")]
    public class MessageModel
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int MsgId { get; set; }

        public int MessageId { get; set; }

        [SugarColumn(ColumnDataType = "blob", IsNullable = false)]
        public byte[] Data { get; set; }

        [SugarColumn(ColumnDataType = "datetime", IsNullable = true)]
        public DateTime? SendDate { get; set; }

        [SugarColumn(IsIgnore = true)]
        public string ErrCode { get; set; }

        [SugarColumn(IsIgnore = true)]
        public string ErrString { get; set; }

        [SugarColumn(IsIgnore = true)]
        public bool Result { get; set; }
        public int UserId { get; set; }
    }
}